<?php
/*
 * @author eBIZ Team <dev@jungo.com.cn>
 * @copyright  Copyright (c) , ShenZhen JunGO Technology Co., Ltd. All rights reserved.
 * @license  Commercial authorization, unauthorized use and modification are prohibited
 * @url www.jungo.com.cn
 */

namespace ckeeper\entity;


class RegionEntity
{
    /**
     * 主键
     * @var int
     */
    public int $auto_id;
    /**
     * 地区id
     * @var int
     */
    public int $id;
    /**
     * 地区的父级id
     * @var int
     */
    public int $pid;
    /**
     * 名称（中文全称）
     * @var string
     */
    public string $name;
    public int $region_name;
    public int $municipality;
    /**
     * 级别
     * @var int
     */
    public int $level;
    /**
     * 级别（中文）
     * @var string
     */
    public string $level_name;
    /**
     * 名称（中文简称）
     * @var string
     */
    public string $short_name;
    /**
     * 区域代码
     * @var int
     */
    public int $area_code;
    /**
     * 邮编
     * @var int
     */
    public int $zip_code;
    /**
     * 拼音（全称）
     * @var string
     */
    public string $pinyin;
    /**
     * 拼音（简称）
     * @var string
     */
    public string $jianpin;
    /**
     * 名称（英文）
     * @var string
     */
    public string $en;
    /**
     * 经度
     * @var string
     */
    public string $longitude;
    /**
     * 维度
     * @var string
     */
    public string $latitude;

    /**
     * @return int
     */
    public function getAutoId(): int
    {
        return $this->auto_id;
    }

    /**
     * @param int $auto_id
     * @return RegionEntity
     */
    public function setAutoId(int $auto_id): RegionEntity
    {
        $this->auto_id = $auto_id;
        return $this;
    }

    /**
     * @return int
     */
    public function getId(): int
    {
        return $this->id;
    }

    /**
     * @param int $id
     * @return RegionEntity
     */
    public function setId(int $id): RegionEntity
    {
        $this->id = $id;
        return $this;
    }

    /**
     * @return int
     */
    public function getPid(): int
    {
        return $this->pid;
    }

    /**
     * @param int $pid
     * @return RegionEntity
     */
    public function setPid(int $pid): RegionEntity
    {
        $this->pid = $pid;
        return $this;
    }

    /**
     * @return string
     */
    public function getName(): string
    {
        return $this->name;
    }

    /**
     * @param string $name
     * @return RegionEntity
     */
    public function setName(string $name): RegionEntity
    {
        $this->name = $name;
        return $this;
    }

    /**
     * @return int
     */
    public function getRegionName(): int
    {
        return $this->region_name;
    }

    /**
     * @param int $region_name
     * @return RegionEntity
     */
    public function setRegionName(int $region_name): RegionEntity
    {
        $this->region_name = $region_name;
        return $this;
    }

    /**
     * @return int
     */
    public function getMunicipality(): int
    {
        return $this->municipality;
    }

    /**
     * @param int $municipality
     * @return RegionEntity
     */
    public function setMunicipality(int $municipality): RegionEntity
    {
        $this->municipality = $municipality;
        return $this;
    }

    /**
     * @return int
     */
    public function getLevel(): int
    {
        return $this->level;
    }

    /**
     * @param int $level
     * @return RegionEntity
     */
    public function setLevel(int $level): RegionEntity
    {
        $this->level = $level;
        return $this;
    }

    /**
     * @return string
     */
    public function getLevelName(): string
    {
        return $this->level_name;
    }

    /**
     * @param string $level_name
     * @return RegionEntity
     */
    public function setLevelName(string $level_name): RegionEntity
    {
        $this->level_name = $level_name;
        return $this;
    }

    /**
     * @return string
     */
    public function getShortName(): string
    {
        return $this->short_name;
    }

    /**
     * @param string $short_name
     * @return RegionEntity
     */
    public function setShortName(string $short_name): RegionEntity
    {
        $this->short_name = $short_name;
        return $this;
    }

    /**
     * @return int
     */
    public function getAreaCode(): int
    {
        return $this->area_code;
    }

    /**
     * @param int $area_code
     * @return RegionEntity
     */
    public function setAreaCode(int $area_code): RegionEntity
    {
        $this->area_code = $area_code;
        return $this;
    }

    /**
     * @return int
     */
    public function getZipCode(): int
    {
        return $this->zip_code;
    }

    /**
     * @param int $zip_code
     * @return RegionEntity
     */
    public function setZipCode(int $zip_code): RegionEntity
    {
        $this->zip_code = $zip_code;
        return $this;
    }

    /**
     * @return string
     */
    public function getPinyin(): string
    {
        return $this->pinyin;
    }

    /**
     * @param string $pinyin
     * @return RegionEntity
     */
    public function setPinyin(string $pinyin): RegionEntity
    {
        $this->pinyin = $pinyin;
        return $this;
    }

    /**
     * @return string
     */
    public function getJianpin(): string
    {
        return $this->jianpin;
    }

    /**
     * @param string $jianpin
     * @return RegionEntity
     */
    public function setJianpin(string $jianpin): RegionEntity
    {
        $this->jianpin = $jianpin;
        return $this;
    }

    /**
     * @return string
     */
    public function getEn(): string
    {
        return $this->en;
    }

    /**
     * @param string $en
     * @return RegionEntity
     */
    public function setEn(string $en): RegionEntity
    {
        $this->en = $en;
        return $this;
    }

    /**
     * @return string
     */
    public function getLongitude(): string
    {
        return $this->longitude;
    }

    /**
     * @param string $longitude
     * @return RegionEntity
     */
    public function setLongitude(string $longitude): RegionEntity
    {
        $this->longitude = $longitude;
        return $this;
    }

    /**
     * @return string
     */
    public function getLatitude(): string
    {
        return $this->latitude;
    }

    /**
     * @param string $latitude
     * @return RegionEntity
     */
    public function setLatitude(string $latitude): RegionEntity
    {
        $this->latitude = $latitude;
        return $this;
    }

}
